from django.http import HttpResponse
from django.shortcuts import render
from django.views import View

class RegisterView(View):

    # 1.get -- 注册页面
    def get(self, request):

        return HttpResponse('GET----注册页面')

    # 2.post -- 注册逻辑
    def post(self, request):
        return HttpResponse('POST ---- 注册逻辑')

"""
    get -- >查询
    post --->增加
    put ---->修改
    delete--->删除
"""